import request from '@/utils/request'

//获取场站数目
export function getChangzhanNum() {
  return request({
    url: '/ruoyi-yuce/yxzk/getChangzhanNum',
    method: 'get'
  })
}
//获取风机数目
export function getFengjiNum() {
  return request({
    url: '/ruoyi-yuce/yxzk/getFengjiNum',
    method: 'get'
  })
}
//获取故障数目
export function getFaultRecordNum(){
  return request({
    url: '/ruoyi-yuce/yxzk/getFaultRecordNum',
    method: 'get'
  })
}
//获取故障数目
export function getFaultRecordNum2(){
  return request({
    url: '/ruoyi-yuce/yxzk/getFaultRecordNum2',
    method: 'get'
  })
}
//获取上月故障数目
export function getFaultRecordAddNum(){
  return request({
    url: '/ruoyi-yuce/yxzk/getFaultRecordAddNum',
    method: 'get'
  })
}

//查询部件故障排名列表
export function getPartsRankList() {
  return request({
    url: '/ruoyi-yuce/yxzk/getPartsRankList',
    method: 'get'
  })
}

export function getContentRankList() {
  return request({
    url: '/ruoyi-yuce/yxzk/getContentRankList',
    method: 'get'
  })
}
export function yearBrokenLine(query) {
  return request({
    url: '/ruoyi-yuce/yxzk/yearBrokenLine',
    method: 'post',
    data: query
  })
}
